package com.party.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 图书
 * </p>
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "book", description = "图书")
public class BookVo {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    @ApiModelProperty(value = "书名")
    private String bookName;

    @ApiModelProperty(value = "作者")
    private String author;
    @ApiModelProperty(value = "封面")
    private String bookCover;
    @ApiModelProperty(value = "图书简介")
    private String bookIntroduction;
    @ApiModelProperty(value = "图书地址")
    private String bookUrl;
    @ApiModelProperty(value = "图书二维码")
    private String bookCode;
    @ApiModelProperty(value = "是否推荐 1 是  2否")
    private Integer isRecommend;

}
